home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / varia / interp18.lha / interp-1.8 / String.defs.h < prev    next >
C/C++ Source or Header  |  1990-01-20  |  1KB  |  31 lines

  1. // -*- C++ -*- String.def.h -- the declarations for the symbol table classes.
  2. // Copyright (C) 1989 Carey Richard Murphey.
  3. // (rich@rice.edu) 5310 Rutherglenn, Houston, TX 77096
  4.  
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of the GNU General Public License as published by
  7. // the Free Software Foundation; either version 1, or (at your option)
  8. // any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. #ifndef _String_defs_h_
  20. #pragma once
  21. #define _String_defs_h_ 1
  22. #include <String.h>
  23. #include "Symbol.h"
  24.  
  25. #define DEFAULT_INITIAL_CAPACITY 128
  26. #define StringEQ(a,b) ((a)==(b))
  27. #define StringHASH(key) hashpjw(key);
  28. #define StringCMP(a,b) compare(a,b)
  29.  
  30. #endif
  31.